﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CharacterCreation.Data.Models {
    /// <summary>
    /// Strength
    /// </summary>
    public class Strength : Statistic {
        
        /// <summary>
        /// Gets or sets the DamageAdjustment
        /// </summary>
        public int DamageAdjustment {
            get { return _DamageAdjustment; }
            set {
                _DamageAdjustment = value;
                RaisePropertyChanged("DamageAdjustment");
            }
        }
        private int _DamageAdjustment;

        
        /// <summary>
        /// Gets or sets the WeightAllowance
        /// </summary>
        public int WeightAllowance {
            get { return _WeightAllowance; }
            set {
                _WeightAllowance = value;
                RaisePropertyChanged("WeightAllowance");
            }
        }
        private int _WeightAllowance;

        
        /// <summary>
        /// Gets or sets the InternalStrengthAdjustment
        /// </summary>
        public int InternalStrengthAdjustment {
            get { return _InternalStrengthAdjustment; }
            set {
                _InternalStrengthAdjustment = value;
                RaisePropertyChanged("InternalStrengthAdjustment");
            }
        }
        private int _InternalStrengthAdjustment;

        public Strength() {
            this.Name = "Strength";
        }

        public override string ToString() {
            return string.Format("DA:{0}, WA:{1}, IS:{2}", this.DamageAdjustment, this.WeightAllowance, this.InternalStrengthAdjustment);
        }
                
    }
}
